package com.test.mapper.services;

import com.test.dao.SearchCriteria;
import com.test.dao.SearchResultSet;
import com.test.mapper.enitites.EntityModel;
import com.test.mapper.enitites.EntityProperty;

public interface EntityPropertyService {

	public boolean addProperty(final EntityProperty property);

	public boolean editProperty(final EntityProperty property);

	public boolean removeProperty(final EntityProperty property);

	public EntityProperty getPropertyByColumnName(final int clientId,
			final String tableName, final String columnName);

	public SearchResultSet<EntityProperty> searchForProperties(final SearchCriteria criteria);

	public void generateColumnName(final EntityProperty property);

	public void loadPropertiesForEntity(final EntityModel entity);
}
